package com.smartfactory.sail.vo.device;

import com.baomidou.mybatisplus.annotation.TableField;
import com.smartfactory.sail.entity.enums.DeviceStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 王巨壁
 * @title: AddDeviceReq
 * @projectName smart-sail
 * @description: 新增设备请求参数
 * @date 2019/8/1414:33
 */
@Data
public class AddDeviceReq {


    @ApiModelProperty(value = "设备编码")
    @TableField("deviceCode")
    private String deviceCode;

    @ApiModelProperty(value = "设备型号")
    @TableField("deviceModel")
    private String deviceModel;


    @ApiModelProperty(value = "设备名称")
    @TableField("deviceName")
    private String deviceName;


    @ApiModelProperty(value = "设备类别")
    @TableField("deviceType")
    private String deviceType;


    @ApiModelProperty(value = "生产日期")
    @TableField("productionDate")
    private String productionDate;

    @ApiModelProperty(value = "购置日期")
    @TableField("acquiredDate")
    private String acquiredDate;


    @ApiModelProperty(value = "下次保养日期")
    @TableField("nextMaintenanceDate")
    private String nextMaintenanceDate;

    @ApiModelProperty(value = "设备状态 0：工作中，1：待工作，2：维护中")
    @TableField("deviceStatus")
    private DeviceStatusEnum deviceStatus;


    @ApiModelProperty(value = "保养周期/天")
    @TableField("maintenanceCycle")
    private Integer maintenanceCycle;

    @ApiModelProperty(value = "设备寿命/年")
    @TableField("deviceLife")
    private Integer deviceLife;

    @ApiModelProperty(value = "设备图片 多个用|拼接")
    @TableField("devicePics")
    private String devicePics;

}
